package com.qhg.saas_server.service.impl;

import com.qhg.saas_server.mapper.ListAffirmLskDAO;
import com.qhg.saas_server.pojo.ListProduct;
import com.qhg.saas_server.service.ListAffirmLskService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class ListAffirmLskImpl implements ListAffirmLskService {

    @Resource
    private ListAffirmLskDAO listAffirmLskDAO;

    @Override
    public List<ListProduct> selectList(Map map) {

        return listAffirmLskDAO.selectList(map);
    }

    @Override
    public Integer insertOrUpdateBatch(List<ListProduct> list) {
        return listAffirmLskDAO.insertOrUpdateBatch(list);
    }
}
